
package com.joysuch.wwyt.dataimport.bean;

import javax.validation.constraints.Pattern;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.zlg.common.springmvc.validate.constraints.NotNull;
import lombok.Data;

//区域控制风险
@Data
public class RiskDistrictControlRiskBean {

    private int rowIndex;

    @Excel(name = "风险单元编号")
    private String riskPointCode;

    @Excel(name = "风险点（单元）名称")
    @NotNull(message = "风险点（单元）名称不能为空")
    private String riskPointName;

    @Excel(name = "风险单元类型")
    @NotNull(message = "风险单元类型不能为空")
    @Pattern(regexp = "(设备设施)|(作业活动)")
    private String riskPointType;

    @Excel(name = "所属分析对象")
    private String riskDistrictName;

    @Excel(name = "所属风险分析对象编号")
    @NotNull(message = "所属风险分析对象编号不能为空")
    private String riskDistrictCode;

    @Excel(name = "所属部门单位")
    @NotNull(message = "所属部门单位不能为空")
    private String departCode;

    @Excel(name = "作业步骤")
    private String jobStep;

    @Excel(name = "风险源或潜在事件")
    private String riskSourceOrPotentialEvent;
    //
    @Excel(name = "可能发生的事故类型及后果")
    private String accidentTypeAndConsequence;

    @Excel(name = "可能性L")
    private String l;

    @Excel(name = "频繁程度E")
    private String e;

    @Excel(name = "后果严重性C")
    private String c;

    @Excel(name = "风险值D")
    private String d;

    @Excel(name = "评价级别")
    private String riskLevel;

    @Excel(name = "检查项目")
    private String checkItem;

    @Excel(name = "标准")
    private String standard;

    @Excel(name = "不符合标准情况及后果")
    private String unstandardSituationAndConsequence;

    @Excel(name = "LSR可能性L")
    private String lsrL;

    @Excel(name = "严重性S")
    private String lsrS;

    @Excel(name = "风险值R")
    private String lsrR;

    @Excel(name = "LSR评价级别")
    private String riskLevel2;

    @Excel(name = "工程技术措施")
    private String techMethod;

    @Excel(name = "管理措施")
    private String manageMethod;

    @Excel(name = "培训教育措施")
    private String educationMethod;

    @Excel(name = "个体防护措施")
    private String protectMethod;

    @Excel(name = "应急处置措施")
    private String emergencyMethod;

    @Excel(name = "责任人")
    @NotNull(message = "责任人不能为空")
    private String responsibleUser;

    @Excel(name = "责任人工号")
    private String responsibleUserCode;

    @Excel(name = "责任部门")
    @NotNull(message = "责任部门不能为空")
    private String responsibleDepart;

    @Excel(name = "责任部门编号")
    private String responsibleDepartCode;

    @Excel(name = "管控层级")
    @NotNull(message = "管控层级不能为空")
    private String controlLevel;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "分析时间")
    // @NotNull(message = "分析时间不能为空")
    private String analyzeTime;

    @Excel(name = "分析人")
    private String analyzeUser;

    @Excel(name = "分析人岗位")
    private String analyzeUserJob;

}
